package com.augurit.wf.common.entity;


import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.Cache;
import org.hibernate.annotations.CacheConcurrencyStrategy;

@Entity
@Table(name = "JBPM4_EXECUTION")
@Cache(usage = CacheConcurrencyStrategy.READ_WRITE)
public class Jbpm4Execution implements java.io.Serializable {
	
	/**
	 * 
	 */
	private static final long serialVersionUID = -6300917729082361934L;

	// 属性
	@Id
    @Column(name = "DBID_")
	private Long dbid;
	
	@Column(name = "CLASS_")
	private String clazz;
	
	@Column(name = "DBVERSION_")
	private Long dbversion;
	
	@Column(name = "ACTIVITYNAME_")
	private String activityName;
	
	@Column(name = "PROCDEFID_")
	private String procdefId;
	
	@Column(name = "HASVARS_")
	private Long hasvars;
	
	@Column(name = "NAME_")
	private String name;
	
	@Column(name = "KEY_")
	private String key;
	
	@Column(name = "ID_")
	private String id;
	
	@Column(name = "STATE_")
	private String state;
	
	@Column(name = "SUSPHISTSTATE_")
	private String suspHistState;
	
	@Column(name = "PRIORITY_")
	private Long priority;
	
	@Column(name = "HISACTINST_")
	private Long hisActInst;
	
	@Column(name = "PARENT_")
	private Long parent;
	
	@Column(name = "INSTANCE_")
	private Long processInstanceId;
	
	@Column(name = "SUPEREXEC_")
	private Long supExecId;
	
	@Column(name = "SUBPROCINST_")
	private Long subProcInstId;
	
	@Column(name = "PARENT_IDX_")
	private Long parentIdx;

	public Long getDbid() {
		return dbid;
	}

	public void setDbid(Long dbid) {
		this.dbid = dbid;
	}

	public String getClazz() {
		return clazz;
	}

	public void setClazz(String clazz) {
		this.clazz = clazz;
	}

	public Long getDbversion() {
		return dbversion;
	}

	public void setDbversion(Long dbversion) {
		this.dbversion = dbversion;
	}

	public String getActivityName() {
		return activityName;
	}

	public void setActivityName(String activityName) {
		this.activityName = activityName;
	}

	public String getProcdefId() {
		return procdefId;
	}

	public void setProcdefId(String procdefId) {
		this.procdefId = procdefId;
	}

	public Long getHasvars() {
		return hasvars;
	}

	public void setHasvars(Long hasvars) {
		this.hasvars = hasvars;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getKey() {
		return key;
	}

	public void setKey(String key) {
		this.key = key;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getState() {
		return state;
	}

	public void setState(String state) {
		this.state = state;
	}

	public String getSuspHistState() {
		return suspHistState;
	}

	public void setSuspHistState(String suspHistState) {
		this.suspHistState = suspHistState;
	}

	public Long getPriority() {
		return priority;
	}

	public void setPriority(Long priority) {
		this.priority = priority;
	}

	public Long getHisActInst() {
		return hisActInst;
	}

	public void setHisActInst(Long hisActInst) {
		this.hisActInst = hisActInst;
	}

	public Long getParent() {
		return parent;
	}

	public void setParent(Long parent) {
		this.parent = parent;
	}

	public Long getProcessInstanceId() {
		return processInstanceId;
	}

	public void setProcessInstanceId(Long processInstanceId) {
		this.processInstanceId = processInstanceId;
	}

	public Long getSupExecId() {
		return supExecId;
	}

	public void setSupExecId(Long supExecId) {
		this.supExecId = supExecId;
	}

	public Long getSubProcInstId() {
		return subProcInstId;
	}

	public void setSubProcInstId(Long subProcInstId) {
		this.subProcInstId = subProcInstId;
	}

	public Long getParentIdx() {
		return parentIdx;
	}

	public void setParentIdx(Long parentIdx) {
		this.parentIdx = parentIdx;
	}
	
}